package com.java.module.system.domain.vo;

import com.java.common.lang.annotation.FileData;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 通用上传响应
 * 
 * @author yilabao
 * @date 2021年3月22日
 */
@ApiModel(value = "上传响应")
@FileData
public class UploadVO {

    @ApiModelProperty(value = "文件地址", position = 1)
    @FileData
    private String url;

    @ApiModelProperty(value = "文件名称", position = 2)
    private String fileName;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    @Override
    public String toString() {
        return "UploadVO [url=" + url + ", fileName=" + fileName + "]";
    }

}
